package com.javabase.study.OOPFistPart;

/**
 * TODO
 * 内容：
 * 作者:jxx
 * 创建时间：2021/6/20
 */
public class Outer {
    private int age = 10;
    class Inner{
        int age = 20;
        public void show(){
            int age = 30;
            System.out.println("内部类方法里的局部变量age: " + age);
            System.out.println("内部类的成员变量age: " + this.age);
            System.out.println("外部类的成员变量age: " + Outer.this.age);
        }
    }
}
